<?php
echo("events: [

				{
					title: 'All Day Event',
					start: new Date(y, m, 1),
                                        color: 'black'
				}    



]")
?>
<html>
<head>
<script type="text/javascript">
function show_alert()
{
    alert(new Date(2011,05,17)  );
}
</script>
</head>
<body>

<input type="button" onclick="show_alert()" value="Show alert box" />

</body>
</html>